#ifndef INC_COMMAND_H_
#define INC_COMMAND_H_

#include "ti_msp_dl_config.h"
#include <string.h>

// ָ������С����
#define COMMAND_MIN_LENGTH 4

// ѭ����������С
#define BUFFER_SIZE 128

uint8_t Command_Write(uint8_t *data, uint8_t length);

uint8_t Command_GetCommand(uint8_t *command);

extern uint8_t buffer[BUFFER_SIZE];

#endif /* INC_COMMAND_H_ */
